//
//  PPAlbumContentTagsTableFooterView.h
//  pickpic
//
//  Created by Jinxiao on 9/16/16.
//  Copyright © 2016 MicroDream. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "PPAlbumContentViewDataSource.h"

@class PPAlbumContentTagsTableFooterView;

@protocol PPAlbumContentTagsTableFooterViewDelegate <NSObject>

- (void)footerView:(PPAlbumContentTagsTableFooterView *)footerView didSelectTag:(PPAlbumTagElement *)tag;

- (void)footerView:(PPAlbumContentTagsTableFooterView *)footerView didDeselectTag:(PPAlbumTagElement *)tag;

@end

@interface PPAlbumContentTagsTableFooterView : UIView

@property (readwrite, nonatomic, weak) id<PPAlbumContentTagsTableFooterViewDelegate> delegate;

@property (readwrite, nonatomic, strong) NSArray <PPAlbumTagElement *> *hotTags;
@property (readwrite, nonatomic, strong) NSArray <PPAlbumTagElement *> *customTags;

- (void)selectTag:(PPAlbumTagElement *)tag;
- (void)deselectTag:(PPAlbumTagElement *)tag;

- (void)reloadData;

@end
